<?php
class Model_Orderitem extends ORM {
	protected $_belongs_to = array(
		'inventory_item' => array(
			'model' => 'inventoryItem',
			'foreign_key' => 'item_id',
		),
		'order' => array(
			'model' => 'order',
			'foreign_key' => 'order_id',
		),
	);
}